package cn.tedu.csmall.product.preload;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;


@Component
public class CachePreload implements ApplicationRunner {

    // 此方法会在项目启动后的第一时刻就自动执行
    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println("CachePreload.run()");
    }

}
